home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.6 KB | 64 lines | [TEXT/MPS ] |
- /*
- File: HIRadioButtonGroups.idl
-
- Contains: Interface for a standard radio button group class
-
- Version: Technology: System 8.0
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1995-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
- */
-
-
- #ifndef __HIRADIOBUTTONGROUPS_IDL__
- #define __HIRADIOBUTTONGROUPS_IDL__
-
- #include <HIEmbeddingPanels.idl>
- #include <HIRadioButtonGroupTypes.idl>
-
-
- interface HIRadioButton;
-
- interface HIRadioButtonGroup : HIPanel
- {
- OSStatus InitRadioButtonGroup ( in RefLabel identifier,
- in HIWindow window,
- in Point anchor,
- in SInt16 width, // height auto-calculated
- in ItemCount numRadioButtons);
-
- ItemCount GetRadioButtonCount();
- HIRadioButton GetRadioButton (in HIRadioButtonIndex radioButtonIndex);
- HIRadioButton AddRadioButton (in HIRadioButtonIndex insertBeforeIndex);
- OSStatus DeleteRadioButton (in HIRadioButtonIndex indexToDelete);
-
- void SelectRadioButton (in HIRadioButtonIndex radioButtonIndex);
- HIRadioButtonIndex GetSelectedRadioButton ();
-
- implementation {
-
- passthru C_h = "#include <HIRadioButtonGroupTypes.h>";
-
- passthru C_xh = "#include <HIRadioButtonGroupTypes.h>";
-
- releaseorder: InitRadioButtonGroup,
- GetRadioButtonCount,
- GetRadioButton,
- AddRadioButton,
- DeleteRadioButton,
- SelectRadioButton,
- GetSelectedRadioButton;
-
- };
- };
-
-
- #endif
-
-